#ifndef DOPPLERSPECTRUMDISPLAYWIDGET_H
#define DOPPLERSPECTRUMDISPLAYWIDGET_H

#include <QWidget>
#include <QGridLayout>
#include "qcustomplot.h"

class DopplerSpectrumDisplayWidget : public QWidget
{
    Q_OBJECT

public:
    DopplerSpectrumDisplayWidget(QWidget *parent = 0);
    ~DopplerSpectrumDisplayWidget();
    void rec_data_plot(uint8_t *data, uint32_t data_size);
    void test_data_plot();
signals:
    void signal_data_plot(uint8_t *data, uint32_t data_size);

private:
    void configplot(QCustomPlot * customPlot);
private:

    QGridLayout *m_layout;
    QCustomPlot *m_customPlot;
};

#endif // DOPPLERSPECTRUMDISPLAYWIDGET_H
